/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.mphokazi.designpatterns.part1.behavioral.iterator;

/**
 *
 * @author yandiswa
 */
public class Item {
String name ;
float price ;
public Item ( String name , float price ){
this.name = name ;
this.price = price ;
}
public String toString ( ){
return name + " : n$" + price ;
}
}
